package com.you.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.you.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 友友
 * @since 2022-10-16
 */

@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {

    IPage pageDiy(IPage<User> page, @Param(Constants.WRAPPER) Wrapper wrapper);
}
